TLA_Media\GTM_Kit\Integration\WooCommerce D

Total Complexity 140
Dependencies 17
Dependents 2
Total lines 1,241
Lines of code 748
Logical lines of code 379
Comment lines 290
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
get_coupon_discount()
B
42 16 51
get_datalayer_content_order_received()
A
42 14 47
get_item_data()
A
45 11 37
get_datalayer_content()
A
54 9 22
enqueue_scripts()
A
49 7 32
get_order_items()
S
49 6 31
include_customer_data()
S
41 4 53
register()
S
38 1 96
get_global_data()
S
54 6 19
get_purchase_event()
S
49 5 30
get_item_data_tag()
S
52 5 24
get_datalayer_content_product_page()
S
53 5 21
get_cart_items()
S
51 4 27
set_list_name_on_category_and_tag()
S
62 5 11
get_datalayer_content_checkout()
S
55 4 19
has_woocommerce_blocks()
S
61 4 11
get_datalayer_content_cart()
S
57 3 17
cart_item_remove_link()
S
57 3 17
product_list_loop_add_to_cart_tracking()
S
54 2 23
get_css_selectors()
S
60 2 14
get_global_settings()
S
52 1 23
extend_store()
S
57 1 20
set_list_name_in_woocommerce_loop()
S
66 2 8
get_payment_method()
S
69 2 7
get_datalayer_content_product_category()
S
70 2 6
instance()
S
65 2 9
get_datalayer_content_product_tag()
S
70 2 6
extend_product_schema()
S
65 1 9
extend_cart_data()
S
73 1 5
get_woocommerce_blocks()
S
80 1 3
extend_product_data()
S
74 1 5
grouped_product_add_to_cart_tracking()
S
74 1 4
prefix_item_id()
S
78 1 3
set_list_name_in_woocommerce_loop_filter()
S
74 1 5
product_block_add_to_cart_tracking()
S
74 1 4
single_product_add_to_cart_tracking()
S
71 1 5
get_pages_property()
S
64 1 9
get_permalink_structure_property()
S
64 1 10
__construct()
S
72 1 5